body, html {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

ul, li {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

#map {
    position: absolute;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
}

#layerControl {
    position: absolute;
    left: 2vw;
    bottom: 2vh;
    width: 10vw;
    height: 25vh;
    z-index: 1000;
    display: none;

}

.floorBtn {
    position: relative;
    float: left;
    background-color: #aea594;
    /*background-color: #00EEEE;*/
    text-align: center;
    margin-left: 0;
    margin-top: 0;
    line-height: 5vh;
    width: 10vw;
    height: 5vh;
    border-radius: 3px;
    border: solid 1px #80858175;
}

.layer{
    top:2vmax;
    background-image: url("../img/layer.png");
    border: 0 !important;
    right: 7px !important;
}
.route{
    position: relative;
    float: left;
    width: 4vmax;
    height: 4vmax;
    background-image: url("../img/routing.png");
    background-size: 100% 100%;
}

.measure{
    position: relative;
    float: left;
    margin-top: 2vmax;
    width: 4vmax;
    height: 4vmax;
    background-image: url("../img/rulers512.png");
    background-size: 100% 100%;
}

.plot{
    position: relative;
    float: left;
    margin-top: 2vmax;
    width: 4vmax;
    height: 4vmax;
    background-image: url("../img/map32.png");
    background-size: 100% 100%;
}


.toolList{
    position: absolute;
    right: 5px;
    width: 7vmax;
    height: 7vmax;
    z-index: 1000;
    background-size: 100%,100%;
    border: 2px #4ef1ff solid;
    border-radius: 4px;
}
.toolList:hover {
    animation: btn 3s;
    border: 2px #0e9aeb solid;
}
#message {
    z-index: 2000;
    position: absolute;
    height: 30vh;
    width: 90vw;
    left: 5vw;
    top: 35vh;
    border-radius: 1vmax;
    background-color: #394263;
}
#closeMeasure {
    text-align: center;
    position: absolute;
    z-index: 1003;
    width: 22vw;
    left: 39vw;
    height: 6vh;
    bottom: 3vh;
    font-size: 3vh;
    line-height: 6vh;
    background: -webkit-linear-gradient(left, #4ef1ff , #0e9aeb); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(left, #4ef1ff , #0e9aeb); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(left, #4ef1ff , #0e9aeb); /* Firefox 3.6 - 15 */
    background: linear-gradient(left, #4ef1ff , #0e9aeb); /* 标准的语法 */
    color: black;
    border-radius: 2vmax;
}
#removeMessage {
    position: absolute;
    height: 5vh;
    width: 20vw;
    right: 1vw;
    bottom: 1vh;
    text-align: center;
    font-size: 3vh;
    color: palegreen;
}

#messageText {
    word-wrap: break-word;
    position: relative;
    width: 70vw;
    height: 23vh;
    margin-left: 6vw;
    margin-top: 3vh;
    color: white;
    font-size: 3vh;
    text-align: center;
}

.measureWays {
    width: 90vw;
    height: 10vh;
    text-align: center;
    vertical-align: middle;
    color: white;
    font-size: 4vh;
    letter-spacing: 8px;
    border-bottom: solid 1px #212538;
    line-height: 10vh;
}


@keyframes btn {
    0% {
        width: 7vmax;
        height: 7vmax;
    }
    50% {
        width: 10vmax;
        height: 10vmax;
    }
    100% {
        width: 7vmax;
        height: 7vmax;
    }
}

/*切换地图*/
#LayerControlPanel {
    position: absolute;
    z-index: 1001;
    right: 0;
    top: 0;
    width: 0;
    height: 100vh;
    background-color: #394263;
    overflow: scroll;
}
#plotControlPanel {
    position: absolute;
    z-index: 1001;
    right: 0;
    top: 0;
    width: 0;
    height: 100vh;
    background-color: #394263;
    overflow: scroll;
}



#LayerControlPanel iframe{
    width: 100%;
    height: 100%;
    border: none;
}

#LayerControlPanel ul li {
    height: 20vh;
    width: 70vw;
    text-align: center;

}

#LayerControlPanel ul li div {
    position: relative;
    text-align: center;
    float: left;
    width: 35vw;
    height: 20vh;
    padding-top: 0;
}

#LayerControlPanel ul li div img {
    width: 29vw;
    height: 16vh;
    border-radius: 1vmax;

}

.plotTitle{
    position: relative;
    float: left;
    margin-left:0;
    top:0;
    height: 5vh;
    width: 70vw;
    text-align: center;
    font-size: 3vh;
    line-height: 3vh;
    color: white;
}
.iconStyle{
    position: relative;
    float: left;
    margin-left:0;
    margin-top:0;
    padding-top: 3px;
    padding-bottom: 3px;
    border-top:1px solid #212538;
    padding-left: 2vw;
    height: 2vh;
    width: 70vw;
    text-align: left;
    font-size: 2vh;
    line-height: 2vh;
    color: white;
}
.iconBox{
    position: relative;
    float: left;
    width: 10vw;
    padding: 3px;
}
.iconBox:hover{
    border: 1px #0e9aeb solid;
}
.iconBox img{
     width: 100%;
 }
.iconBox .imgTitle{
    text-align: center;
    width: 100%;
    line-height: 2vh;
    color:#afb1bc;
    font-size:2vh ;
}

.mapname {
    vertical-align: top;
    margin-top: 1vh;
    line-height: 3vh;
    height: 3vh;
    color:#afb1bc;
    font-size: 2vh;
    font-family: 黑体;
}




.box{
    position: relative;
    float: left;
    margin-left: 0;
    margin-top: 5px;
    width: 100%;
    color: #b1b1b1;
}

.mapClass{
    position: relative;
    float: left;
    width: 20vw;
    margin-left: 2vw;
    margin-top: 2vw;
    text-align: center;
    color: #5e6274;
}
.mapClass img{
    width: 20vw;
    height: 17vw;
}

.title{
    padding-left: 5px;
}

.input1[type="radio"]{
    display: none;
}
.input1[type="radio"]+label{
    display: inline-block;
    width: 48%;
    height: 40px;
    line-height: 40px;
    text-align: left;
    -webkit-box-sizing: border-box;
}

.input1-label::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #2e3551;
    vertical-align: middle;
    -webkit-border-radius: 50%;
    margin-right: 5px;
    border: #4c5888 solid 2px;
    -webkit-box-sizing:border-box;
    -webkit-transition:background ease-in .5s
}

.input1[type="radio"]:checked+label::before{
    line-height: 30px;
    text-align: center;
    background: -webkit-linear-gradient(left, #4ef1ff , #0e9aeb); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(left, #4ef1ff , #0e9aeb); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(left, #4ef1ff , #0e9aeb); /* Firefox 3.6 - 15 */
    background: linear-gradient(left, #4ef1ff , #0e9aeb); /* 标准的语法 */
    border: 2px #4c5888 solid;
}

.circleImg{
    position: relative;
    float: left;
    margin-left: 10px;
    margin-top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: 100% 100%;
}

.box .mapStyle{
    position: relative;
    float: left;
    margin-left: 10px;
    height: 40px;
    width: 90px;
    line-height: 40px;
    text-align: center;
}

.box .check{
    position: relative;
    float: left;
    text-align: center;
    margin-left: 10px;
    height: 40px;
    width: auto;
}

.testswitch {
    position: relative;
    float: left;
    width: 70px;
    height: 30px;
    margin: 5px 0 0 0;
    -webkit-user-select:none;
    -moz-user-select:none;
    -ms-user-select: none;
}

.testswitch-checkbox {
    display: none;
}

.testswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    /*border: 2px solid #999999;*/
    border-radius: 20px;
}

.testswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

.testswitch-inner::before, .testswitch-inner::after {
    display: block;
    float: right;
    width: 50%;
    height: 30px;
    padding: 0;
    line-height: 30px;
    font-size: 14px;
    color: white;
    font-family:
            Trebuchet, Arial, sans-serif;
    font-weight: bold;
    box-sizing: border-box;
}

.testswitch-inner::after {
    content: attr(data-on);
    padding-left: 0px;
    background-color: #2e3551;
    color: #FFFFFF;
}

.testswitch-inner::before {
    content: attr(data-off);
    padding-right: 10px;
    background-color: #2e3551;
    color: white;
    text-align: right;
}

.testswitch-switch {
    position: absolute;
    display: block;
    width: 26px;
    height: 26px;
    margin: 2px 2px 2px 2px;
    background: -webkit-linear-gradient(left, #4ef1ff , #0e9aeb); /* Safari 5.1 - 6.0 */
    background: -o-linear-gradient(left, #4ef1ff , #0e9aeb); /* Opera 11.1 - 12.0 */
    background: -moz-linear-gradient(left, #4ef1ff , #0e9aeb); /* Firefox 3.6 - 15 */
    background: linear-gradient(left, #4ef1ff , #0e9aeb); /* 标准的语法 */
    top: 0;
    bottom: 0;
    right: 39px;
    border-radius: 20px;
    transition: all 0.3s ease-in 0s;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-inner {
    margin-left: -10px;
}

.testswitch-checkbox:checked + .testswitch-label .testswitch-switch {
    right: 0px;
}

#toolPanel{
    position: absolute;
    top:11vmax;
    right: 7px;
    width: 7vmax;
    height: auto;
    z-index: 1001;
    text-align: center;
    background-color: #2e3551;
    border-radius: 4px;
    box-sizing: border-box;
    padding: 1.5vmax;
}

#iframe{
    top: 0;
    width: 100vw;
    height: 100vh;
    position: absolute;
    z-index: 500;
}
video{
    width: 40vmin;
}